package de.backtomedieval.research;

import de.backtomedieval.R;
import de.backtomedieval.main.Game;

public class Granary extends AbstractResearch {

	private static int baseResearchPoints = 500;
	
	
	public Granary() {
		this.setBaseResearchPoints(baseResearchPoints);
	}
	
	@Override
	public String getName() {
		return Game.getString(R.string.research_fire_arrows);
	}
	
	protected void onLevelUp(Technology technology) {
		//technology.setArcherAttackBonus(technology.getArcherAttackBonus()+1);
		//technology.setBallistaAttackBonus(technology.getBallistaAttackBonus()+1);
	}

	@Override
	public String getResearchInfo(int level) {
		String info="";
		info += Game.getString(R.string.unit_archer) + ": " + Game.getString(R.string.attack) + " +" + level+"<br>";
		info += Game.getString(R.string.unit_ballista) + ": " + Game.getString(R.string.attack) + " +" + level;
		return info;
	}

}
